import uniRequest from '../../static/libs/uni.request.js';

// 获取验证码
export const SendCode = (data) => {
	return uniRequest.post(`/sms/code`,{mobile:data});
}
// 短信验证登录
export const VerifyLogin = (data) => {
	return uniRequest.post(`/sms/login`,data);
}
// 微信一键登录
export const wxLogin = (data) => {
	return uniRequest.post(`wechat/login`,data);
}
// 验证码生成
export const captchaImage = () => {
	return uniRequest.get(`/captchaImage`);
}
// 短信验证登录
export const AccountLogin = (data) => {
	return uniRequest.post(`/login`,data);
}